const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  curCluster: state => state.app.curCluster,
  curSource: state => state.app.curSource,
  curTaskInfo: state => state.app.curTaskInfo,
  curTaskConf: state => state.app.curTaskConf,
  curSourceCluster: state => state.app.curSourceCluster,
  userName: state => state.user.userName,
  addRouters: state => state.permission.addRouters,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes
}
export default getters
